﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using DTO;

namespace BLL
{
    public partial class LoadCollectorFunc
    {
        public List<CollectorEntity> LoadCollectorbyAll()
        {
            CollectorService col = new CollectorService();
            return col.LoadCollectorbyAll();
        }

        public CollectorEntity LoadCollectorByID(int collectorid)
        {
            CollectorService col = new CollectorService();
            return col.LoadCollectorByID(collectorid);
        }
    }
}
